//package com.example.demo.demos.rest;
//
//import org.springframework.ai.tool.ToolCallbackProvider;
//import org.springframework.ai.tool.method.MethodToolCallbackProvider;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class WeatherServiceTool {
//
//	@Bean
//	public ToolCallbackProvider weatherTools(WeatherService weatherService) {
//		return MethodToolCallbackProvider.builder().toolObjects(weatherService).build();
//	}
//}